package com.neuedu.spring.controller;

import com.neuedu.spring.service.UserService;

public class UserController {

    UserService userService;

    //无参的
    public UserController() {
    }

    public UserController(UserService userService) {
        this.userService = userService;
    }

    public void queryList(){
        System.out.println("控制器COntroller中的方法");
        userService.selectList();
    }



}
